package com.easy.dev.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

@Data
@TableName("table_field")
public class TField {

    @TableId(type=IdType.AUTO)
    private Long id;

    @TableField("table_name")
    private String tableName;

    @TableField("field_name")
    private String fieldName;

    @TableField("field_type")
    private String fieldType;

    @TableField("label")
    private String label;

    @TableField("align")
    private String align;

    @TableField("`show`")
    private Boolean show;

    @TableField("width")
    private String width;

    @TableField("tooltip")
    private Boolean tooltip;

    @TableField("type")
    private String type;

    @TableField("`sort`")
    private Integer sort;

    @TableField("search")
    private Boolean search;

    @TableField("search_type")
    private String searchType;

    @TableField("symbol_type")
    private String symbolType;

    @TableField("edit")
    private boolean edit;

    @TableField("`add`")
    private boolean add;

    @TableField("edit_type")
    private String editType;

    @TableField("rules")
    private String rules;

}